﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IChessEngine;

namespace ChessEngine.Gaming
{
    public class ChsGameInfo : IChsGameInfo
    {
        private Guid id = Guid.Empty;
        private string whitePlayer = "";
        private string blackPlayer = "";
        private DateTime date = DateTime.MinValue;
        public ChsGameInfo()
        {
        }
        public ChsGameInfo(Guid _id,
                            string _whitePlayer,
                            string _blackPlayer,
                            DateTime _date)
        {
            id = _id;
            whitePlayer = _whitePlayer;
            blackPlayer = _blackPlayer;
            date = _date;
        }
        public string WhitePlayer
        {
            get
            {
                return whitePlayer;
            }
            set
            {
                whitePlayer = value;
            }
        }
        public string BlackPlayer
        {
            get
            {
                return blackPlayer;
            }
            set
            {
                blackPlayer = value;
            }
        }
        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }
        public Guid Id
        {
            get { return id; }
            set { id = value; }
        }
    }
}
